package net.maku.module.train.convert;

import net.maku.module.train.entity.TrainEntity;
import net.maku.module.train.vo.TrainVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_培训
*
* @author    
*/
@Mapper
public interface TrainConvert {
    TrainConvert INSTANCE = Mappers.getMapper(TrainConvert.class);

    TrainEntity convert(TrainVO vo);

    TrainVO convert(TrainEntity entity);

    List<TrainVO> convertList(List<TrainEntity> list);

}